#pragma once
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>

#include "YLog.h"
using namespace cv;

class PhotoTool
{
public:
	PhotoTool();
	~PhotoTool();

	bool init(YLog* l);

	bool getPhoto(Mat& out);

	cv::VideoCapture* mp_capture;
	YLog* mp_log;
};

